-
Home
-
Recover Abandoned Carts for WooCommerce by ShopMagic
-
2.0.4
-
Code
-
Classes
- CartInterceptor
Total Complexity |
46 |
Dependencies |
13 |
Dependents |
1 |
Total lines |
240 |
Lines of code |
162 |
Logical lines of code |
101 |
Comment lines |
39 |
Methods |
13 |
Properties |
5 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
should_save_cart() |
A |
51 |
10 |
26 |
sync_cart_with_order() |
A |
49 |
8 |
31 |
save_cart() |
A |
49 |
8 |
28 |
trigger_update_on_cart_and_checkout_pages() |
S |
66 |
4 |
9 |
get_cart() |
S |
62 |
3 |
12 |
get_tracking_key() |
S |
63 |
3 |
10 |
hooks() |
S |
58 |
1 |
15 |
set_changed_into_cookie() |
S |
73 |
2 |
5 |
set_changed_from_cookie() |
S |
71 |
2 |
6 |
store_tracking_key() |
S |
71 |
2 |
6 |
__construct() |
S |
70 |
1 |
6 |
separate_cart_from_session() |
S |
73 |
1 |
5 |
set_changed() |
S |
81 |
1 |
3 |